//
//  RGLoginRouter.m
//  RedGrass
//
//  Created by wukong on 2018/12/29.
//  Copyright © 2018年 hongcaosp. All rights reserved.
//

#import "RGLoginRouter.h"
#import "RGLoginWithPassViewController.h"
#import "RGLoginResetPasswordViewController.h"

@implementation RGLoginRouter

+(void) pushToLoginWithPassViewControllerFromVC:(UIViewController *)vc{
    
    RGLoginWithPassViewController *loginWithPassVc = [[RGLoginWithPassViewController alloc]init];
    [vc.navigationController pushViewController:loginWithPassVc animated:YES];
}

+(void) pushToPasswordResetViewControllerFromVC:(UIViewController *)vc phone:(NSString *)phone{
    RGLoginResetPasswordViewController *resetPasswordVC = [[RGLoginResetPasswordViewController alloc]init];
    resetPasswordVC.phone = phone;
    [vc.navigationController pushViewController:resetPasswordVC animated:YES];
}


@end
